package com.example.demo.mapper;

import com.example.demo.mode1.Usertable;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UsertableZMapper {

    @Insert("insert into usertable (usename,password) value (#{username},#{password})")
     boolean addusertable(String username,String password);

    @Select("select * from usertable where usename=#{username} and password=#{password}")
    boolean selectusertable(String username,String password);

    @Update("update usertable set password=#{password} where usename=#{username}")
    boolean updateusertable(String username,String password);
}